<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>良師棚業工程有限公司</title>
    <link rel="stylesheet" href="css/home.css"/>
    <link rel="stylesheet" type="text/css" href="css/swiper.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/bootstrap-4.0.0.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/why-choose-us.css"/>
    <link rel="stylesheet" href="css/simplelightbox.min.css"/>
    <link rel="stylesheet" href="css/fontawesome-all-5.0.9.min.css"/>

    <link href="css/test1.css" rel="stylesheet" type="text/css">
    <link href="css/jq22.css" rel="stylesheet"/>

    <script src="js/functions.js"></script>
    <script src="js/js.js"></script>
    <script src="js/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="js/jquery.superslide.js"></script>

    <!-- <script src="js/jquery-3.3.1.min.js"></script> -->
    <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBEO3TWX1r4bJBNSf34xWPGGLvcjqtKX4k"
            type="text/javascript"></script>
    <style type="text/css">
        .clear {
            clear: both;
        }

        #head_top {
            position: relative;
            z-index: 999;
        }

        #head_top .fixed-nav.show {
            top: 0;
        }

        .top_box_2 {
            cursor: pointer;
            display: block;
            z-index: 99999999;
        }

        #head_top.fixed-nav {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            height: 50px;
            -moz-transition: .3s;
            -ms-transition: .3s;
            -o-transition: .3s;
            -webkit-transition: .3s;
            transition: .3s;
        }

        .header_nav ul li {
            margin-right: 4%;
        }

        .ussevices ul {
            margin-top: 2%;
        }
    </style>
</head>
<body onload="init()">
<!--第一版-->
<div class="top" style="background: url(img/background1.jpg) no-repeat left top/100% 100%;width: 100%;">
    <div class="header_home">
        <!--<img class="lazy" data-original="img/background1.jpg"  width="100%"  style="overflow: hidden;"/>-->
    </div>
    <div class="top_box_2" style="position: absolute;text-align: center; left: 48%;">

        <p style="text-align: center;margin-top:60px;">
            <img class="lazy" data-original="img/guide2.gif" class="img_first"
                 style="position: absolute;bottom:10%;display:inline-block;text-align:center;height:60px;display:inline-block; width:60px; cursor:pointer;margin-top: 30px;"/>
        </p>
    </div>
</div>
<!-- 头部 -->
<div class="sec" id="head_top" style="">
    <div class="sec_header">
        <div class="sec_logo">
            <div class="logo_left"><a href="home.php"><img class="lazy" data-original="img/logo.png"
                                                           style="margin-top: 11px;"/></a></div>
            <div class="logo_phone" style="width: 150px;">
                <a target='_blank' href="https://api.whatsapp.com/send?phone=85268801666"><img style="width: 100%;"
                                                                                               class="lazy"
                                                                                               data-original="img/logoen.png"></a>
            </div>
            <div class="header_nav">
                <ul class="header_ul">
                    <li><span></span>WHY CHOOSE US</li>
                    <li><span></span>OUR SERVICES</li>
                    <li><span></span>OUR PROCESS</li>
                    <li><span></span>NEWS</li>
                    <li><span></span>CONTACT US</li>
                </ul>
                <a href="home.php"><span style="color: white;float: right;margin-top:2px;">中文</span></a>
            </div>
        </div>
    </div>
</div>
<!--第二版头部-->
<main class="main" style="position: relative;">
    <!--图片-->
    <div class="top2 scro1"
         style="display: flex;flex-direction: column;align-items: center;width: 100%;background: url(img/06.jpg) no-repeat left top/100% 100%;padding-bottom: 20px;min-height: 1000px;">

        <content class="container">
            <h3 style="color:#fff;font-size:50px;">WHY CHOOSE US</h3>
            <div style="float: left;margin-top: 50px; width: 800px;" class="container ">
                <ul class="row twoPhoto" style="text-align:center;">
                    <li class="col-md-6" style=" ">
                        <div style=";float: right;">
                            <img class="lazy" data-original="img/inco_money.png"
                                 style="text-align: center;display: inline-block;height: 80px;"/>
                            <h3 style="color: white;">Affordability</h3>
                            <p style="color: #fff; text-align: left;">We ensure that we understand our client’s
                                requirement clearly, and aim to provide the most accurate and cost effective scaffolding
                                solution without unnecessary gold plating, so as to achieve significant cost savings.
                            </p>
                        </div>
                    </li>

                    <li class="col-md-6" style="">
                        <div style=";float: left;">

                            <img class="lazy" data-original="img/fuwu_icon.png"
                                 style="text-align: center;display: inline-block;height: 80px;"/>
                            <h3 style="color: white;">Service Quality</h3>
                            <p style="color: #fff;text-align: left;">
                                We understand clearly that, the scaffold is the construction workers’ safety platform. A
                                safe, stable and good quality scaffold will greatly increase the productivity of the
                                workers. As such, we will never sacrifice the trust of our client by providing careless
                                solution or try to cut cost where safety matters.
                            </p>

                        </div>
                    </li>
                    <li class="col-md-6" style="margin-top:8%;">
                        <div style=";float: right;">

                            <img class="lazy" data-original="img/heat.png"
                                 style="text-align: center;display: inline-block;height: 80px;"/>
                            <h3 style="color: white;">Attention to Detail</h3>
                            <p style="color: #fff; text-align: left;">We have a team of qualified, skilled workers with
                                professional certifications recognised by the government. Our years of working
                                experience has enabled us to clearly understand the dangers of working in high
                                areas.</p>

                        </div>
                    </li>

                    <li class="col-md-6" style="margin-top:8%;">
                        <div style=";float: left;">

                            <img class="lazy" data-original="img/fanglv_icon.png"
                                 style="text-align: center;display: inline-block;height: 80px;"/>
                            <h3 style="color: white;">Safety Reliability</h3>
                            <p style="color: #fff;text-align: left;">We are not only concerned about the safety of our
                                workers, but also the need to ensure the scaffold is completely safe for use as well as
                                for the public, throughout the construction period. It is our basic responsibility to be
                                seriously careful and meticulous about every detail related to safety measures, with the
                                aim to reduce the risk of working at high areas to the minimum.</p>

                        </div>
                    </li>
                </ul>
                <!-- <div class="sec_cen_img" style="position: absolute;width:795px;text-align: center;top:24.5%;">
                    <img class="lazy" data-original="img/add.png" style="display: inline-block;"/>
                </div> -->
            </div>
    </div>
    </content>
    </div>
    <!--图片-->

    <!--第三版-->
    <div class="scro2"
         style="background: url(img/backgrpund_99.jpg) no-repeat left top/100% 100% ;float: left;width: 100%; position: relative;min-height: 1020px;">

        <div style="position: absolute;width: 100%;float: left;margin-top: 80px;">
            <content class="container">
                <h3 style="color:#003e65;font-size:50px;">Areas of Service</h3>

                <div class="three_font_img" style="position: relative;width: 100%;">
                    <div style="width: 1200px;margin: 0 auto;margin-top: 4%;" class="three_ul">
                        <ul>
                            <li>
                                <span style="height: 94px;line-height: 94px; font-size: 40px; color: #606060;">HongKong</span>
                                <img style="width:auto;" class="lazy" data-original="img/yes_icon.png"/>
                            </li>
                            <!-- <li></li> -->
                            <li>
                                <span style="height: 94px;line-height: 94px; font-size: 40px; color: #606060;">Kowloon</span>
                                <img style="width:auto;" class="lazy" data-original="img/yes_icon.png"/>
                            </li>
                            <!-- <li></li> -->
                            <li>
                                <span style="height: 94px;line-height: 94px; font-size: 40px; color: #606060;">New Territories</span>
                                <img style="width:auto;" class="lazy" data-original="img/yes_icon.png"/>
                            </li>
                            <li>
                            </li>
                        </ul>
                    </div>
                </div>


                <div class="three_font_thr_img" style="float: left;width: 100%;">

                    <div class="three_img_img" style="margin:8% auto 0;width: 1200px;">

                        <img class="lazy" data-original="img/floor1.png"/>
                    </div>
                </div>

                <div class="three_four_img" style="float: left;width: 100%;margin-top: 5%;">
                    <div class="three_four_img" style="margin: 0 auto;width: 1200px;">
                        <img class="lazy" data-original="img/floor2.png" style="margin: 0 auto;"/>
                    </div>
                </div>
            </content>
        </div>
    </div>

    <!--我们的服务-->
    <script type="text/javascript" src="js/simplelightbox.min.js"></script>

    <div class="scro2"
         style="background: url(img/06.jpg) no-repeat left top/100% 100% ;float: left;width: 100%; position: relative;min-height: 600px;">

        <div class="ussevices" style="background-size:cover;color:#FFF;">
            <content class="container">
                <!-- <h2 style="text-align:center;">我們的服務</h2> -->
                <h3 style="color:#fff;font-size:50px!important;">OUR SEVICES</h3>

                <ul class="row">

                    <li class="col-md-6 col-sm-12">
                        <div class="liimg">
                            <a href="images/sever2.jpg"><img class="lazy" data-original="images/sever2.jpg"/></a>
                        </div>
                        <div class="lip">
                            <h3>Ladder Scaffold </h3>
                            <p style="text-align: left;">(provide required scaffolding services for the replacement,
                                installation or maintenance of plumbing, gas pipes and various types of pipes).</p>
                        </div>
                    </li>

                    <li class="col-md-6 col-sm-12">
                        <div class="liimg liimg1">
                            <a href="images/sever3.jpg"><img class="lazy" data-original="images/sever3.jpg"/></a>
                        </div>
                        <div class="lip">
                            <h3>Maintenance of Double Scaffolding </h3>
                            <p style="text-align: left;"> (provide required scaffolding services for grey water, paint,
                                waterproofing, refurbishment of village houses/buildings).</p>
                        </div>
                    </li>
                    <li class="col-md-6 col-sm-12">
                        <div class="liimg liimg1">
                            <a href="images/sever1.jpg"><img class="lazy" data-original="images/sever1.jpg"/></a>
                        </div>
                        <div class="lip">
                            <h3>Hanging Scaffold</h3>
                            <p style="text-align: left;">
                                (installation or maintenance of aluminum windows, split machines, hoses, and various
                                types of pipes, and construction and demolition projects provide the necessary
                                scaffolding services).
                            </p>
                        </div>
                    </li>

                    <li class="col-md-6 col-sm-12">
                        <div class="liimg">
                            <a href="images/sever4.jpg"><img class="lazy" data-original="images/sever4.jpg"/></a>
                        </div>
                        <div class="lip">
                            <h3>Indoor and outdoor ceiling shelving/bamboo scaffolding </h3>
                            <p style="text-align: left;">
                                (providing necessary scaffolding services for maintenance of fire hose, ceilings, ducts,
                                etc.)
                            </p>
                        </div>
                    </li>


                    <li class="col-md-6 col-sm-12">
                        <div class="liimg">
                            <a href="images/sever6.jpg"><img class="lazy" data-original="images/sever6.jpg"/></a>
                        </div>
                        <div class="lip">
                            <h3>Signboard Scaffolding/Bamboo Scaffolding</h3>
                            <p style="text-align: left;">(for Qingshen Signboard Project Shedging Service)</p>
                        </div>
                    </li>

                    <li class="col-md-6 col-sm-12">
                        <div class="liimg liimg1">
                            <a href="images/sever7.jpg"><img class="lazy" data-original="images/sever7.jpg"/></a>
                        </div>
                        <div class="lip">
                            <h3>Facade shelving/bamboo scaffolding </h3>
                            <p style="text-align: left;"> (for the signage of the Qing dynasty or scaffolding service
                                for the air-conditioning and shelter project)</p>
                        </div>
                    </li>
                    <li class="col-md-6 col-sm-12" style="text-align:left;">
                        <div class="liimg liimg1">
                            <a href="images/sever5.jpg"><img class="lazy" data-original="images/sever5.jpg"/></a>
                        </div>
                        <div class="lip">
                            <h3>Demolition of scaffolds/bamboo scaffolding </h3>
                            <p style="text-align: left;">
                                (for demolition works scaffolding services).
                            </p>
                    </li>
                    <li class="col-md-6 col-sm-12">
                        <div class="liimg">
                            <a href="images/sever8.jpg"><img class="lazy" data-original="images/sever8.jpg"/></a>
                        </div>
                        <div class="lip">
                            <h3>Bamboo Scaffolding, Metal Scaffolding, Hybrid Scaffolding</h3>
                            <p style="text-align: left;">
                                (Other than the above, we also undertake and welcome any inquiry many kinds of scaffolds
                                such as Bamboo Shed, Metal Shed, Hybrid Shed Engineering.)
                            </p>
                        </div>
                    </li>
                </ul>

            </content>
        </div>

    </div>


    <script>
        $(function () {
            $('.lightbox a').simpleLightbox({closeBtnClass: "fas fa-times"});
        });
    </script>


    <!--第四版-->
    <div class="top5 scro3 "
         style="background-color: #f0f0f0 ;float: left;width: 100%;padding-bottom:20px;min-height: 800px;">
        <content class="container">
            <h3 style="color:#003e65;font-size:50px!important;font-weight:500!important;">OUR PROCESS</h3>
            <div class="process_lists">
                <ul class="row" style="margin-top:5%;">
                    <li class="col-md-3 ">
                        <div style="width: ;text-align: center;">
                            <img class="lazy" data-original="img/icon5.png" width="100" height="100"
                                 style="display: inline-block;"/>
                            <h4>1. Describe the Requirement</h4>
                            <p>Client may call our business hotline@ 6880 1666 or use WHATSAPP to initiate the request
                                for quote.</p>
                        </div>
                    </li>
                    <li class="col-md-3">
                        <div style="width: ;text-align: center;">
                            <img class="lazy" data-original="img/icon6.png" width="100" height="100"
                                 style="display: inline-block;"/>
                            <h4>2.Preliminary Quote</h4>
                            <p>The company will formulate a scaffolding program for free according to the customer's
                                engineering needs and provide an estimated, preliminary quotation.</p>
                        </div>
                    </li>
                    <li class="col-md-3 ">
                        <div style="width: ;text-align: center;">
                            <img class="lazy" data-original="img/icon7.png" width="100" height="100"
                                 style="display: inline-block;"/>
                            <h4>3.Implementation Plan</h4>
                            <p>The customer implements the plan and sets the date and time for the us to start the
                                installation of scaffolding.</p>
                        </div>
                    </li>
                    <li class="col-md-3 ">
                        <div style="width: ;text-align: center;">
                            <img class="lazy" data-original="img/icon8.png" width="100" height="100"
                                 style="display: inline-block;"/>
                            <h4>4.Construct Scaffolding </h4>
                            <p>Our assigned installation team will arrive at the work site on the scheduled start date
                                and complete the scaffolding on time. </p>
                        </div>
                    </li>

                    <li class="col-md-3 ">
                        <div style="width: ;text-align: center;">
                            <img class="lazy" data-original="img/icon1.png" width="100" height="100"
                                 style="display: inline-block;"/>
                            <h4>5.Client Project Completion</h4>
                            <p>The customer uses our scaffold to complete the construction project safely and
                                effectively.</p>
                        </div>
                    </li>
                    <li class="col-md-3 ">
                        <div style="width: ;text-align: center;">
                            <img class="lazy" data-original="img/icon2.png" width="100" height="100"
                                 style="display: inline-block;"/>
                            <h4>6.Coordinate Dismantling</h4>
                            <p>The customer informs the company that the construction is completed, and makes an
                                appointment for the date and time for the removal of the scaffold.</p>
                        </div>
                    </li>
                    <li class="col-md-3 ">
                        <div style="width: ;text-align: center;">
                            <img class="lazy" data-original="img/icon3.png" width="100" height="100"
                                 style="display: inline-block;"/>
                            <h4>7.Perform Dismantling</h4>
                            <p>The company returns to the work site to remove the scaffolding.</p>
                        </div>
                    </li>
                    <li class="col-md-3 ">
                        <div style="width: ;text-align: center;">
                            <img class="lazy" data-original="img/icon4.png" width="100" height="100"
                                 style="display: inline-block;"/>
                            <h4>8.Completion</h4>
                            <p>The project is completed successfully.</p>
                        </div>
                    </li>
                </ul>
            </div>
        </content>
    </div>
    </div>
    <!--第五版-->


    <style>
        @media only screen and (min-width: 1700px ) {
            .container {
                max-width: 1500px !important;
            }

            .scro3 h3, .sec_font h3, .three_font h3, .ussevices h2, .end_img h3 {
                font-size: 50px !important;
            }

            .top5 img {
                width: 140px !important;
                height: 140px !important;
            }

            .top5 ul li:nth-child(1), .top5 ul li:nth-child(2), .top5 ul li:nth-child(3), .top5 ul li:nth-child(4) {
                margin-bottom: 0px;
            }

            .top5 p {
                font-size: 19px !important;
            }

            .scro3 h3 {
                margin-bottom: 45px;
            }

            .top5 h4 {
                font-size: 27px !important;
                margin-bottom: 10px;
                margin-top: 10px;
            }

            .ussevices p {
                font-size: 16px !important;
            }

            .ussevices h3 {
                font-size: 20px !important;
            }
        }

        .share img {
            width: 100% ；
        }

        .sec_imgfont p {
            font-size: 14px;
        }

        .ussevices p {
            font-size: 14px;
        }

        .ussevices h3 {
            font-size: 16px;
        }

        .scro3 content.container {
            padding: 2% 2.5%;
        }

        .scro5 content.container {
            padding: 5% 0;
        }

        .col-md-3 {
            padding-bottom: 3%;
        }

        /* .process_lists ul li{margin-bottom:2%;} */
    </style>
    <div class="clear scro4"></div>
    <div class="banner" style="width: 100%;padding-top: 150px;min-height: 1000px;background-color: #333;">
        <?php require_once('common.php'); ?>
    </div>
    <!--最后一板块-->
    <div class="end_bac scro5" style="float: left;width: 100%;">
        <content class="container">
            <h3 style="color:#003e65;font-size:50px;">CONTACT US</h3>

            <div style="width: 1200px;margin: 0 auto;">
                <div class="end_ul" style="float: left;margin-top:60px ;width: 100%;">

                    <ul>

                        <li>
                            <div>
                                <span style="float: left;"><img class="lazy" data-original="img/email.png"/></span>
                                <span></span>
                            </div>
                            <div style="margin-bottom: 10px;">
                                <a style="color: #333;font-size: 32px;" href="mailto:contact@gm-scaffolding.com">contact@gm-scaffolding.com<i
                                            class="fal fa-angle-double-right"></i></a>
                            </div>
                        </li>

                        <li>
                            <div style="margin-left: ;">
                                <span style="float: left; display: inline-block;"><img class="lazy"
                                                                                       data-original="img/phone.png"/></span>
                                <span></span>
                            </div>
                            <div>
                                <p><a target="_blank" href="https://api.whatsapp.com/send?phone=85268801666"
                                      style="color: #333;">+852 6880-1666 </a></p>
                                <!--<p>+852 3678-8457 office</p>
                                <p>+852 3005-8573 fax</p>-->
                            </div>
                        </li>


                        <li>
                            <a href="https://www.facebook.com/%E8%89%AF%E5%B8%AB%E6%A3%9A%E6%A5%AD%E5%B7%A5%E7%A8%8B%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8-189611901676633/?modal=admin_todo_tour"
                               target="_blank">
                                <div>
                                    <span style=" float: left;"><img class="lazy"
                                                                     data-original="img/facebook.png"/></span>
                                    <span></span>
                                </div>
                                <div style="cursor: pointer;">
                                    <p>GM-Scaffolding@facebook</p>
                                    <!--<p>36 Shung Ching San Tsuen，Yeun Long，New Territroies</p>-->
                                </div>
                            </a>
                        </li>
                        <li>
                            <div style="width: 100%;float: left;">
                                <div>
                                    <span style="float: left; display: inline-block;"><img class="lazy"
                                                                                           data-original="img/mobile2.png"/></span>
                                    <span></span>
                                </div>
                                <div>
                                    <p>+852 3678-8457 </p>
                                </div>
                            </div>
                        </li>


                        <li>
                            <div style="width: 100%;float: left;">
                                <div>
                                    <span style="float: left; display: inline-block;"><img class="lazy"
                                                                                           data-original="images/weixin.png"/></span>
                                    <span></span>
                                </div>
                                <div>
                                    <p>Wechat ID:u6880166 </p>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div style="margin-left: ;">
                                <span style="float: left; display: inline-block;"><img class="lazy"
                                                                                       data-original="img/fax.png"/></span>
                                <span></span>
                            </div>
                            <div>
                                <p>+852 3005-8573 </p>
                            </div>
                        </li>

                        <!--<div style="margin-left: 30%;margin-bottom: 10px;">

                        <p>九龙荔枝角道822号2楼西翼（港铁荔枝角站D2出口）</p>
                        <p>West Wing，2/f，822 Lai Chi Kok Road，Kowloon</p><br/><br/>
                    </div>
                    <div style="margin-left: 20%;width: 70%;">
                            <img class="lazy" data-original="img/ditu2.jpg"  width="100%"/>
                        </div>-->


                    </ul>
        </content>

        <div class="clear"></div>
        <p style="text-align: center;font-size: 22px;margin-top: 40px;"><img class="lazy"
                                                                             data-original="img/address2.png"
                                                                             style="width: 22px;margin: 0 10px;display: inline-block;"/>36
            Shung Ching San Tsuen，Yeun Long，New Territroies</p>

        <div id="map" style="width:1000px;margin: 40px auto 20px; height:400px;border:1px solid gray"></div>
        <p style="text-align: center;font-size: 22px;margin-top: 40px;"><img class="lazy"
                                                                             data-original="img/address2.png"
                                                                             style="width: 22px;margin: 0 10px;display: inline-block;"/>West
            Wing，2/f，822 Lai Chi Kok Road，Kowloon</p>

        <div id="map2" style="width:1000px;margin: 20px auto; height:400px;border:1px solid gray"></div>


        <script>

            function init() {

                // 获取当前地理位置

                // navigator.geolocation.getCurrentPosition(function(position) {

                // 	var coords = position.coords;

                // 设定地图参数，将用户的当前位置的经纬度设定为地图的中心点

                // var latlng = new google.maps.LatLng(coords.latitude,coords.longitude);
                var latlng = new google.maps.LatLng(22.434501, 114.029948);
                var latlng2 = new google.maps.LatLng(22.335928, 114.147905);


                var myOptions = {
                    // 设定放大倍数
                    zoom: 19,
                    // 将地图中心点设定为指定的坐标点
                    center: latlng,
                    // 指定地图类型
                    mapTypeId: google.maps.MapTypeId.ROADMAP
                };

                var myOptions2 = {
                    // 设定放大倍数
                    zoom: 19,
                    // 将地图中心点设定为指定的坐标点
                    center: latlng2,
                    // 指定地图类型
                    mapTypeId: google.maps.MapTypeId.ROADMAP
                };

                // 创建地图并在div中显示

                var map1;
                var map2;

                map1 = new google.maps.Map(document.getElementById("map"), myOptions);
                map2 = new google.maps.Map(document.getElementById("map2"), myOptions2);

                // 在地图上创建标记

                var marker = new google.maps.Marker({
                    position: latlng,
                    map: map1
                });

                var marker2 = new google.maps.Marker({
                    position: latlng2,
                    map: map2
                });

                // 设定标注窗口，并指定该窗口中的注释文字

                var infowindow = new google.maps.InfoWindow({

                    content: "良師棚業工程有限公司"

                });

                var infowindow2 = new google.maps.InfoWindow({

                    content: "良師棚業工程有限公司"

                });

                // 打开标注窗口

                infowindow.open(map1, marker);
                infowindow2.open(map2, marker2);

                // });
            }

            //22.434501, 114.029948
            //22.335928, 114.147905
        </script>
        <br/><br/>
    </div>

    </div>


    </div>

</main>

<div class='home_footer' style="margin-top: 80px;width:100%;">
    <p style="text-align: center;display: block;">©2018 Grand Master Scaffolding Company Litimed </p>
    <p>All Rights Reserved</p>
</div>

</body>
</html>


<script>


    $(".map1").click(function () {
        var h = $('#map').offset().top;
        $('body,html').animate({
            scrollTop: h
        }, 1000);

    });

    $(".map2").click(function () {
        var h = $('#map2').offset().top;
        $('body,html').animate({
            scrollTop: h
        }, 1000);

    });


    var h = document.documentElement.clientHeight;
    var $Main = $(".main");
    // console.log($(".img_first"))
    $(".top_box_2").click(function () {
        $('html,body').animate({scrollTop: h}, 800);
    })

    var $Nav = $("#head_top");

    var $Window = $(window);
    $Window.on("scroll", function () {
        if ($Window.scrollTop() > ($Main.position().top + h)) {
            $Nav.addClass("fixed-nav");
            setTimeout(function () {
                $Nav.addClass("show");
            }, 500);
        }
        else $Nav.removeClass("fixed-nav show");
    }).trigger("scroll");


    $(window).scroll(function () {
        var a = $('.scro1').offset().top;
        var a1 = $('.scro2').offset().top - h / 2;
        var a2 = $('.scro3').offset().top - h / 2;
        var a3 = $('.scro4').offset().top - h / 2;
        var a4 = $('.scro5').offset().top - h / 2;

        $('.header_ul li').eq(3).find('span').addClass("active_span");

        var top1 = $(window).scrollTop();

        if (top1 < a1) {
            $('.header_ul li').eq(0).find('span').addClass("active_span");
            $('.header_ul li').eq(0).siblings().find('span').removeClass("active_span");
            $('.header_ul li').css('color', '#fff');
            $('.header_ul li').eq(0).css('color', '#fff');
        } else if (top1 >= a1 && top1 < a2) {
            $('.header_ul li').css('color', '#fff');
            $('.header_ul li').eq(1).css('color', '#fff');
            $('.header_ul li').eq(1).find('span').addClass("active_span");
            $('.header_ul li').eq(1).siblings().find('span').removeClass("active_span");
        }

        else if (top1 >= a2 && top1 < a3) {
            $('.header_ul li').css('color', '#fff');
            $('.header_ul li').eq(2).css('color', '#fff');
            $('.header_ul li').eq(2).find('span').addClass("active_span");
            $('.header_ul li').eq(2).siblings().find('span').removeClass("active_span");
        } else if (top1 >= a3 && top1 < a4) {
            $('.header_ul li').css('color', '#fff');
            $('.header_ul li').eq(3).css('color', '#fff');
            $('.header_ul li').eq(3).find('span').addClass("active_span");
            $('.header_ul li').eq(3).siblings().find('span').removeClass("active_span");
        } else {
            $('.header_ul li').css('color', '#fff');
            $('.header_ul li').eq(4).css('color', '#fff');
            $('.header_ul li').eq(4).find('span').addClass("active_span");
            $('.header_ul li').eq(4).siblings().find('span').removeClass("active_span");
        }
    })

    $('.header_ul li').mouseover(function () {
        var flag = $(this).children().hasClass("active_span");

        if (!flag) {
            $(this).css('color', '#fff');
        }
    });

    $('.header_ul li').mouseout(function () {
        var flag = $(this).children().hasClass("active_span");
        if (!flag) {
            $(this).css('color', '#fff');
        }
    });


    $('.header_ul li').click(function () {
        var a = $(this).index();
        a = a + 1;
        var h = $('.scro' + a).offset().top;
        $('body,html').animate({
            scrollTop: h
        }, 1000);
    })


    $(document).ready(function () {

        var h = document.documentElement.clientHeight;
        var z = h / 3 + h / 3;
        // console.log(h)
        $('.header_home img').css('height', h);
        $('.top').css('height', h);
        $('.top_box_2').css('top', z);
        $('.top5').css('height', h);
        $('.swiper-slide img').css('height', h);
//		$('.sec_box').css('height',h-300);
        window.onresize = function () {
            var h1 = document.documentElement.clientHeight;
            $('.header_home img').css('height', h1)
            // $('.top2').css('height',h1);
            $('.top').css('height', h1);
            // $('.top5').css('height',h1);
            $('.swiper-slide img').css('height', h1);
//			$('.sec_box').css('height',h1-300);
//		
        }
    });

</script>
<script src="js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.lazyload.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">

    var mySwiper = new Swiper('.swiper-container', {

        autoplay: {
            delay: 6000, //1秒切换一次
            disableOnInteraction: false,
        },
        loop: true,

        // 如果需要前进后退按钮
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },
    });


    /**
     * 图片延时加载
     */
    $(function () {

        $("img.lazy").lazyload({effect: "fadeIn"});

    });
</script>